package com.wlc.base.jichu;

/**
 * @author 王立朝 wanglichao@champion-credit.com
 * @description test
 * @date 2021-06-12 09:31
 */
public class Demo07 {
    /**
     * 静态变量，全局变量，都可以访问
     */
    static String name ="zhangsan";
    /**
     * 实例变量，属于类
     */
     final double PI = 3.14;

    public static void main(String[] args) {
        System.out.println(new Demo07().PI);
        System.out.println(name);
        int a = 4;
        int b = 5;
        int c = a==b?6:7;
        System.out.println("c = " + c);
    }

}
